<template>
  <div class="bookmark">
    <div class="title">
      <div class="text">Моя след</div>
    </div>
    <div class="tongji">Сегодня, 1 ноября (2 Детки)</div>
    <div class="Product_listBox">
      <Product_list :col="4" :num="4" :list="list"></Product_list>
    </div>
  </div>
</template>
<script setup lang="ts">
import {ref} from "vue"
import Product_list from '@/components/Product_list/Product_list.vue'
import {getIndexList} from "@/api/api"
const list = ref<any>([])
function getlist(){
  let data={
    page:1,
    limit:60
  }
  getIndexList(data).then((res:any)=>{
    list.value = res.returnData.list
  })
}
getlist()
</script>
<style scoped lang="less">
.bookmark {
  width: 1164px;
  background: #FFFFFF;
  border-radius: 16px 16px 16px 16px;
  padding: 20px;
  box-sizing: border-box;

  .title {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #EEEEEE;

    .text {
      font-family: Segoe UI, Segoe UI;
      font-weight: bold;
      font-size: 24px;
      color: #333333;
      line-height: 24px;
      text-align: left;
      font-style: normal;
      text-transform: none;
    }
  }

  .tongji{
    margin-top: 30px;
    font-family: Segoe UI, Segoe UI;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .Product_listBox{
    margin-top: 30px;
  }
}
</style>
